Skip to main content

ConvertBandwidthPackage

Description

call ConvertBandwidthPackage to convert NAT bandwidth packets to shared bandwidth.

Request Method

POST

Request Path

/apsara/route/Vpc/ConvertBandwidthPackage

Request Parameters Common Parameters

NameLocationTypeRequiredSample valueDescription
regionIdBODYstringYesNo sample value for this parameter.region id
BandwidthPackageIdBODYstringYesbwp-bp1xea10o8qxw4f****ID of NAT bandwidth package.
RegionIdBODYstringYescn-qingdao-env17-d01the region ID where the NAT gateway is located. You can obtain the region ID by calling the DescribeRegions interface.
ClientTokenBODYstringNo123e4567-e89b-12d3-a456-426655440000Ensure request idempotence. Generate a parameter value from your client to ensure that the parameter value is unique between different requests. ClientToken only supports ASCII characters and cannot exceed 64 characters.
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIdstring0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50request ID.
ConvertInstanceIdstringcbwp-s6lmotmkkf567b****converted shared bandwidth instance ID.

Example

Successful Response example

{
"RequestId":"0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50",
"ConvertInstanceId":"cbwp-s6lmotmkkf567b****"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}